package com.maolvche.util;
import java.util.List;
/**
 * 存储分页显示的页面信息
 * @author HackerAC
 */

public class Page<T> {
	/**
	 * 总条数
 	 */
	private int total;

	/**
	 * 当前页
	 */
	private int page;
	/**
	 * 每页数
	 */
	private int size;
	/**
	 * 结果集
	 */
	private List<T> rows;

	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}  
}
